package com.wonders.hisdoctor.station.project.base.domain;

import com.wonders.his.common.utils.validator.group.PrimaryGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

import lombok.Data;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * <p>静态数据字典明细表</p>
 * <p>db_table: APP_STATIC_DETAIL</p>
 * @author tong-aj
 * @date 2021/05/07
 */
@ApiModel("静态数据字典明细表")
@Accessors(chain = true)
@Data
@ToString
@TableName("APP_STATIC_DETAIL")
public class AppStaticDetail implements Serializable {

    private static final long serialVersionUID = -1547414687367747368L;

    /** `主键` db_field: TYPE_CODE; desc: 类型代码 */
    @ApiModelProperty("类型代码")
    @NotNull(message = "类型代码不能为空", groups = PrimaryGroup.class)
    @TableField("TYPE_CODE")
    private String typeCode;

    /** `主键` db_field: DETAIL_CODE; desc: 代码 */
    @ApiModelProperty("代码")
    @NotNull(message = "代码不能为空", groups = PrimaryGroup.class)
    @TableField("DETAIL_CODE")
    private String detailCode;

    /** db_field: DETAIL_NAME; desc: 名称 */
    @ApiModelProperty("名称")
    @TableField("DETAIL_NAME")
    private String detailName;

    /** db_field: INPUT_CODE; desc: 输入码 */
    @ApiModelProperty("输入码")
    @TableField("INPUT_CODE")
    private String inputCode;

}